package cn.stylefeng.guns.sys.core.StatusCode;

/**
 * @Author : xiaofei
 * @Date: 2019/7/4
 */

public enum SalesOrderCode {


    /*------销售单审核流程---------*/
    SALSPENDING(0,"普通提交待审核"),
    SALSSUCESS(1,"普通提交审核通过"),
    SALSFAIUL(2,"普通提交不通过"),
    SALSRETRUN(3,"普通提交退回"),
    SPECIALPENDIG(4,"特价提交待审核"),
    SPECIALSUCESS(5,"特价提交审核通过"),
    SPECIALFAIUL(6,"特价提交审核失败"),
    SPECIALRETURN(7,"特价提交审核退回"),

    /*------销售单节点信息---------*/
    NODE0(0,"经销商"),
    NODE1(1,"经销商审核"),
    NODE2(2,"仓库发货"),

    /*--------特价审核节点信息-------------------*/
    SPECIALNODE0(0,"经销商"),
    SPECIALNODE1(1,"工厂审批人员"),

    /*----------审核信息-------------------------------*/
    PASS(0,"通过"),
    FAUILT(9,"失败"),
    BACK(2,"退回");



    public Integer getVal() {
        return val;
    }

    public void setVal(Integer val) {
        this.val = val;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    SalesOrderCode(Integer val, String message) {
        this.val = val;
        this.message = message;
    }

    Integer val;
    String message;


}
